package com.d0317;

public class ThreadNameAndPriority {
    public static void main(String[] args) {
        ThreadGroup group = new ThreadGroup("1111");
        Thread thread1 = new Thread(group,"444");
        Thread thread2 = new Thread("888");

        thread2.setPriority(Thread.MAX_PRIORITY);
        System.out.println(thread1);
        System.out.println(thread2);
    }
}
